﻿using System;
using System.Data;
using System.Collections;

/// <summary>
/// Summary description for CarMakeModelRSA
/// </summary>
/// S.
/// 
namespace CE.Provider
{
    public class CarMakeModelRSA
    {
        public CarMakeModelRSA()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }
        private Int64 _providercarmakemodelrsaid;
        private Int64 _providercarmakemodelid;
        private bool _isparallel;
        private Int32 _rate;
        private Int64 _refceuserid;
        private bool _status;

        private float _finfo1; //new rate
        private DateTime _dinfo1;  //effectivity date

        public Int64 ProviderCarMakeModelRSAId
        {
            get { return _providercarmakemodelrsaid; }
            set { _providercarmakemodelrsaid = value; }
        }

        public Int64 ProviderCarMakeModelId
        {
            get { return _providercarmakemodelid; }
            set { _providercarmakemodelid = value; }
        }

        public bool IsParallel
        {
            get { return _isparallel; }
            set { _isparallel = value; }
        }

        public Int32 Rate
        {
            get { return _rate; }
            set { _rate = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public float FInfo1
        {
            get { return _finfo1; }
            set { _finfo1 = value; }
        }

        public DateTime DInfo1
        {
            get { return _dinfo1; }
            set { _dinfo1 = value; }
        }
        private void ClearFields()
        {
            _providercarmakemodelrsaid = 0;
            _providercarmakemodelid = 0;

            _isparallel = false;
            _rate = 0;
            _refceuserid = 0;
            _status = false;

            //
            _finfo1 = 0.0f;
            _dinfo1 = new DateTime();
        }
    }

}
